package com.eqdd.yiqidian.widget;

import android.app.Activity;
import android.content.Context;
import android.view.View;

import com.eqdd.yiqidian.R;
import com.eqdd.yiqidian.base.CommonPopupWindow;
import com.eqdd.yiqidian.utils.KeyboardUtil;

/**
 * @author吕志豪 .
 * @date 17-12-16  上午9:54.
 * Github :https://github.com/lvzhihao100
 * E-Mail：1030753080@qq.com
 * 简书 :http://www.jianshu.com/u/6e525b929aac
 */

public class CommentPop extends CommonPopupWindow {
    public CommentPop(Context c, int layoutRes, int w, int h) {
        super(c, layoutRes, w, h);
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initEvent() {
        BackEditText etComment = getContentView().findViewById(R.id.et_comment);
        etComment.setBackListener(textView -> {
            getPopupWindow().dismiss();
        });
    }
}
